﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace FILSTARTUPS_MOBILE.Models
{
    public class ForumThread
    {
        [Key]
        public int forumthreadidPK { get; set; }


        public int forumidFK { get; set; }

     
        public int memberidFK { get; set; }

        [Display(Name = "Forum Title")]
        [Required(ErrorMessage = "Forum Title is required")]
        public string forumtitle { get; set; }

        [AllowHtml]
        [Display(Name = "Forum Description")]
        [Required(ErrorMessage = "Forum Description is required")]
        [DataType(DataType.Html)]
        [UIHint("Html")]
        public string forumdescription { get; set; }

        [Column]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime datecreated { get; set; }

        public string tags { get; set; }
    }
}